package com.stylefeng.guns.rest.enums;

public enum EnWzCoupon {

    //类型
    TYPE_OriginalPrice("原价券",1),
    TYPE_Prize("奖品券",2),
    TYPE_Shopping("券库券",3),
    TYPE_Rebate("返利券",4),
    TYPE_Merge("拼单券",5),
    //状态
    STATUS_Normal("可使用",1),
    STATUS_Used("已使用",2),
    STATUS_Invalid("失效",3),
    STATUS_Refund("已退款",4),
    //使用状态
    UserType_Shop("到店消费",0),
    UserType_Delivery("送货上门",1),

    //用户礼券表wz_user_coupon
    //状态
    UserCoupon_Status_Normal("可使用",1),
    UserCoupon_Status_Used("已使用",2),
    UserCoupon_Status_Invalid("已过期",3),
    UserCoupon_Status_Refund("已退款",4),
    //原价券表
    //状态
    COUPONORDER_STATUS_WaitPay("待支付",0),
    COUPONORDER_STATUS_HasPay("已支付",1);

    private String name ;
    private int index ;

    private EnWzCoupon(String name , int index ){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}
